//
//  SYDCusAnnotationView.h
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/8/17.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
// 自定义大头针

#import <MAMapKit/MAMapKit.h>
@class YMUserPointAnnotation;

typedef void(^InfoWindowActionBlcok)(void);

@interface SYDCusAnnotationView : MAAnnotationView

/** 上下车时间 */
@property(nonatomic,strong)NSString *timeStr;
/* 上下车站点   */
@property(nonatomic,strong)NSString *locationStr;
/* 上下车人数 */
@property(nonatomic,strong)NSString *numberStr;//

/** 泡泡 */
@property (nonatomic, strong) UIView * calloutView;

/** 标注图标 */
@property (nonatomic, copy) NSString * markerImage;

/** 标注大小 */
@property (nonatomic, assign) CGSize markerSize;
/** 泡泡点击事件 */
@property (nonatomic, copy) InfoWindowActionBlcok infoWindowActionBlcok;

/** 是否可点击 */
@property (nonatomic, assign) BOOL isClick;

/** 是否标注底部view */
@property (nonatomic, assign) BOOL showBottomTitle;
/** 大头针 */
@property (nonatomic, strong) UIImageView *markerImageView;

@property (nonatomic, strong) YMUserPointAnnotation * pointAnnotation;

@end
